const mongoose = require('mongoose')

const addPetSchema = new mongoose.Schema({
    name: {
        type: String,
        required: true
    },
    photoUrls: {
        type: [String],
        required: true
    },
    category: {
        type: String,
        required: true
    },
    tags: {
        type: [String],
        required: true
    },
    status: {
        type: String,
        enum: ['available', 'pending', 'sold'],
        required: true
    }
}, { timestamps: false })

module.exports = mongoose.model('Pet', addPetSchema)

